<script>
$(function() {
	$( "#ngaysinhgv" ).datepicker({
		
								showOtherMonths: true,
								selectOtherMonths: true,
								changeMonth: true,
								changeYear:true,
								yearRange:"-48",
								dateFormat: "dd-mm-yy",
								showOn: "both",
								
								buttonImage:$('#root').val()+"img/calendar.gif",
								buttonImageOnly: true
	 							});
});
</script>

<div id="tabs">
	<ul>
		<li><?php echo $this->Html->link(__('Danh sách giảng viên', true), array('action' => 'index')); ?></li>
        <li id="current"><?php echo $this->Html->link(__('Thêm giảng viên', true), array('controller'=>'giangviens','action' => 'add')); ?></li>
	</ul>
 </div>

<div class="giangviens form">
<?php echo $this->Form->create('Giangvien');?>
	<fieldset>
		<legend><?php __('Thêm Giảng Viên'); ?></legend>
	<?php
		//echo $this->Form->input('user_id');
		echo $this->Form->input('msgv', array('label'=>'MSGV'));
		echo $this->Form->input('tenGV', array('label'=>'Họ Tên'));
		echo $this->Form->input('ngaySinhGV', array('id'=>'ngaysinhgv', 'type'=>'text', 'label'=>'Ngày Sinh'));
		echo $this->Form->input('gioiTinhGV', array('label'=>'Giới Tính'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('   Lưu   ', true));?>
</div>
<div class="actions">
	<h3><?php // __('Actions'); ?></h3>
	<ul>

		<li><?php //echo $this->Html->link(__('Ds Giảng Viên', true), array('action' => 'index'));?></li>
		<li><?php //echo $this->Html->link(__('Ds Lớp HP', true), array('controller' => 'lophps', 'action' => 'index')); ?> </li>
		<li><?php //echo $this->Html->link(__('New Lophp', true), array('controller' => 'lophps', 'action' => 'add')); ?> </li>
	</ul>
</div>